package cn.aresoft.framework.po;

import java.io.Serializable;
import java.util.Date;

public class BasePO implements Serializable {
	public final static String DELETE_TRUE = "1";
	public final static String DELETE_FALSE = "0";
	
	public final static String AUDIT_FLAG_READY = "0";
	public final static String AUDIT_FLAG_READY_VIEW = "1";
	public final static String AUDIT_FLAG_SUCCESS = "2";
	public final static String AUDIT_FLAG_FAILURE = "3";
	
	public final static String PUBLISH_FLAG_READY = "0";
	public final static String PUBLISH_FLAG_SUCCESS = "1";
	
	protected String deleted = DELETE_FALSE;
	protected Date createTime = new Date();
	protected Long createUser = 0l;
	protected Date lastModTime = new Date();
	protected Long modUser = 0l;
	protected String auditFlag = AUDIT_FLAG_READY;
	protected Date auditTime = new Date();
	protected Long auditUser = 0l;
	protected String publishFlag = PUBLISH_FLAG_READY;
	protected Date publishTime = new Date();
	protected Long publishUser = 0l;

	public Long getPublishUser() {
		return publishUser;
	}

	public void setPublishUser(Long publishUser) {
		this.publishUser = publishUser;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

	public String getAuditFlag() {
		return auditFlag;
	}

	public void setAuditFlag(String auditFlag) {
		this.auditFlag = auditFlag;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getPublishFlag() {
		return publishFlag;
	}

	public void setPublishFlag(String publishFlag) {
		this.publishFlag = publishFlag;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	public Long getModUser() {
		return modUser;
	}

	public void setModUser(Long modUser) {
		this.modUser = modUser;
	}

	public Long getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(Long auditUser) {
		this.auditUser = auditUser;
	}

}
